package com.slkj.shilixiaoyuanapp.entity;


import java.io.Serializable;

/**
 * 工具-打卡-选择打卡位置
 */
public class ToolLocationEntity implements Serializable{
    private double lon;
    private double lat;
    private String title;
    private String content;
    private boolean isChoice = false;

    public boolean isChoice() {
        return isChoice;
    }

    public void setChoice(boolean choice) {
        isChoice = choice;
    }
    public void setChoseChange() {
        isChoice = !isChoice;
    }


    public ToolLocationEntity(double lon, double lat, String title, String content){
        this.lat = lat;
        this.lon = lon;
        this.content = content;
        this.title = title;
    }

    public double getLon() {
        return lon;
    }

    public void setLon(double lon) {
        this.lon = lon;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
